package com.kerrykidz.filemanagement.dao.model;

import java.util.Date;

import com.rdp.util.time.DateFormatUtil;

/**
 * 用户进出场封装类
 * @author yanan
 *
 */
public class UserInOutCombEntity {
	private String pkMemId;
	private String memName;
	private Date inTime;
	private Date outTime;
	private int perCount;
	private String famBatch;
	
	public String getFamBatch() {
		return famBatch;
	}
	public void setFamBatch(String famBatch) {
		this.famBatch = famBatch;
	}
	public int getPerCount() {
		return perCount;
	}
	public void setPerCount(int perCount) {
		this.perCount = perCount;
	}
	//出入场ID
	private String pkPerIoId;
	//出入场类型
	private String type;
	
	
	public String getPkPerIoId() {
		return pkPerIoId;
	}
	public void setPkPerIoId(String pkPerIoId) {
		this.pkPerIoId = pkPerIoId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getInTimePage() {
		if (this.inTime != null) {
			return DateFormatUtil.format(this.inTime, "yyyy.MM.dd HH:mm:ss");
		}
		return "";
	}
	public String getOutTimePage() {
		if (this.outTime != null) {
			return DateFormatUtil.format(this.outTime, "yyyy.MM.dd HH:mm:ss");
		}
		return "";
	}
	public String getPkMemId() {
		return pkMemId;
	}
	public void setPkMemId(String pkMemId) {
		this.pkMemId = pkMemId;
	}
	public String getMemName() {
		return memName;
	}
	public void setMemName(String memName) {
		this.memName = memName;
	}
	public Date getInTime() {
		return inTime;
	}
	public void setInTime(Date inTime) {
		this.inTime = inTime;
	}
	public Date getOutTime() {
		return outTime;
	}
	public void setOutTime(Date outTime) {
		this.outTime = outTime;
	}
	
}
